package start.spring.basic.flowable.service.category;

import java.util.List;

import start.spring.basic.flowable.entity.WfCategory;
import start.spring.basic.flowable.service.IBaseService;
import start.spring.basic.page.PageQuery;
import start.spring.basic.page.PageResult;

/**
 * 流程分类Service接口
 * 
 * @author xuyy
 * @date 2023-08-28
 */
public interface IWfCategoryService extends IBaseService {
	
    /**
     * 查询流程分类列表
     * 
     * @param wfCategory 流程分类
     * @return 流程分类集合
     */
    public PageResult<WfCategory> selectWfCategoryPageList(PageQuery pageQuery, WfCategory wfCategory);

    /**
     * 查询全量流程分类
     * 
     * @param wfCategory 流程分类
     * @return 流程分类集合
     */
	public List<WfCategory> selectWfCategoryList(WfCategory wfCategory);
	
    /**
     * 新增流程分类
     * 
     * @param wfCategory 流程分类
     * @return 结果
     */
    public int insertWfCategory(WfCategory wfCategory);

    /**
     * 修改流程分类
     * 
     * @param wfCategory 流程分类
     * @return 结果
     */
    public int updateWfCategory(WfCategory wfCategory);

    /**
     * 批量删除流程分类
     * 
     * @param categoryIds 需要删除的流程分类主键集合
     * @return 结果
     */
    public int deleteWfCategoryByCategoryIds(List<Long> categoryIds);
	
}
